﻿
using System;
using System.Collections;
using System.Collections.Generic;
using Microsoft.AspNetCore.Components.Routing;
using Microsoft.JSInterop;

namespace lcwb.Core
{
    /// <summary>
    /// 用户配置，通过个人中心设置一些内容
    /// </summary>
    public class UserConfig
    {
        public LCLayout Layout { get; set; }
        public IJSRuntime JSRuntime { get; set; }
        //static IEnumerable? _routes;
        //public static Router Router;
        public UserConfig(IJSRuntime jSRuntime, LCLayout layoutEntity)
        {
            JSRuntime = jSRuntime;
            Layout = layoutEntity;
        }

        // public Action RefreshMenuAction { get; set; }
        // public Action RefreshCurrentPage { get; set; }
    }
}
